from pydantic import BaseModel
from uuid import UUID
from typing import List

class POSTResponse(BaseModel):
    message: str

class DELETEResponse(BaseModel):
    message: str

class TendersGETResponse(BaseModel):
    tenders: List["TenderInfo"]


class TendersPOSTResponse(BaseModel):
    tender: "TenderInfo"



class TenderInfo(BaseModel):
    id: UUID
    category: str
    quarter: str

class BidInfo(BaseModel):
    id: UUID
    name: str
    has_bargaining: bool

class TendersBidsGETResponse(BaseModel):
    bids: List["BidInfo"]

class TendersBidsPOSTResponse(BaseModel):
    bid: "BidInfo"